<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>录入信息</title>

<!-- css 样式 start-->
<link rel="stylesheet" href=".../../themes/skyblue/skyblueMain.css" type="text/css" title="styles1" />
<!-- css 样式  end-->
<!-- common javascript start-->
<script language="javascript" src=".../../themes/js/common.js"></script>
<script language="javascript" src=".../../themes/js/Validate.js"></script>
<script language="javascript" src=".../../themes/My97DatePicker/WdatePicker.js"></script>
<!-- common javascript end-->

</head>

<body>
<div id="main">
  	<div id="tab-top">
  		<div id="ptk1">
	  		<div id="lift"></div>
	  		<div id="pt">【资源组管理】信息录入</div>
	  		<div id="right"></div>
  		</div>
 	</div>
<form action="action.com.auth.group.TAuthGroupInsert.do" method="post" onsubmit="return checkForm();">
	<div id="table">
   		<div id="ptk">
   			<div id="tabtop-l"></div>
    		<div id="tabtop-z">信息录入</div>
    		<div id="tabtop-r1"></div>
    	</div>
  	</div>  	
  	<div id="main-tab">
	    <div id="info">    	
			<table width="95%" border="0" align="center" cellpadding="5" cellspacing="1">
			  <tr>
				<td width="16%" class="label">资源组ID：</td>
				<td width="84%">
				<input type="text" size="20" name="tAuthGroup_id" 
					size="20"/>
				</td>
			  </tr>
			  <tr>
				<td width="16%" class="label">资源组名称：</td>
				<td width="84%">
				<input type="text" size="20" name="tAuthGroup_name" 
					size="20"/>
				</td>
			  </tr>
			  <tr>
				<td width="16%" class="label">描述：</td>
				<td width="84%">
				<input type="text" size="60" name="tAuthGroup_groupDescribe" 
					size="20"/>
				</td>
			  </tr>
			</table>

			<div id="fh-flie-2"></div>
			<div id="main-tabk2">
				<ul>
						<li><input type="submit" value="提交" /></li>
			        	<li><input type="button" value="取消" onclick="history.back();" />
					</li>
				</ul>
			</div>
			
		</div>
	</div>
</form>
</div>
</body>
</html>

<script type="text/javascript">
function checkForm(){
	var idValue = document.getElementsByName("tAuthGroup_id").item(0).value;
	
	if(idValue == ""){
		alert("请输入相关信息");
		document.getElementsByName("tAuthGroup_id").item(0).focus();
		return false;
	}
	var nameValue = document.getElementsByName("tAuthGroup_name").item(0).value;
	
	if(nameValue == ""){
		alert("请输入相关信息");
		document.getElementsByName("tAuthGroup_name").item(0).focus();
		return false;
	}
	var groupDescribeValue = document.getElementsByName("tAuthGroup_groupDescribe").item(0).value;
	
	return true;
}
</script>